package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.FoodKnowledge;

import java.util.List;

public interface FoodKnowledgeService {
    public void add(List<FoodKnowledge> list);
    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);
    public FoodKnowledge findById(Integer id);
    public void edit(FoodKnowledge foodKnowledge);
    public void delete(Integer id);
}
